#include<bits/stdc++.h>
using namespace std;


int main(){
    string str;
    while(cin>>str){
        string new_str = str;
        reverse(new_str.begin(), new_str.end());
        if(new_str == str) cout<<"Yes!"<<endl;
        else cout<<"No!"<<endl;
    }
    return 0;
}